package com.zaoke.web.bo.order;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class OrderQueryRes {

	private Long id;
	
	private Long userid;
	
	private String username;
	
	private String pickname;
	
	private Double price;
	
	private String priceStr;
	
	private String mainfood;
	
	private String drinkfood;
	
	private String payway;
	
	private String state;
	
	private int stateInt;
	
	private String pickdate;//实际取餐
	
	private String orderdate;//下单时间
	
	private Date bookdate;//预约取餐
	
	public Date getBookdate() {
		return bookdate;
	}

	public void setBookdate(Date bookdate) {
		this.bookdate = bookdate;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPickname() {
		return pickname;
	}

	public void setPickname(String pickname) {
		this.pickname = pickname;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getMainfood() {
		return mainfood;
	}

	public void setMainfood(String mainfood) {
		this.mainfood = mainfood;
	}

	public String getDrinkfood() {
		return drinkfood;
	}

	public void setDrinkfood(String drinkfood) {
		this.drinkfood = drinkfood;
	}

	public String getPayway() {
		return payway;
	}

	public void setPayway(String payway) {
		this.payway = payway;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPickdate() {
		return pickdate;
	}

	public void setPickdate(String pickdate) {
		this.pickdate = pickdate;
	}

	public String getOrderdate() {
		return orderdate;
	}

	public void setOrderdate(String orderdate) {
		this.orderdate = orderdate;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.SHORT_PREFIX_STYLE);
	}

	public String getPriceStr() {
		return priceStr;
	}

	public void setPriceStr(String priceStr) {
		this.priceStr = priceStr;
	}

	public int getStateInt() {
		return stateInt;
	}

	public void setStateInt(int stateInt) {
		this.stateInt = stateInt;
	}
	
}
